package com.hjn.base.entity;

import org.springframework.stereotype.Component;

/**
 * 业务实体类 user 用户
 *
 * @auth huaijn@css.com.cn
 * @date 2020/9/14 17:03
 * @version 1.0.0
 */
@Component
public class UserEntity {

  //  主键
  private String uuid;
  //  用户名
  private String userName;
  //  性别 0：男 1：女
  private String sex;
  // 年龄
  private Integer age;
//  email
  private String email;

  public UserEntity() {
  }

  public String getUuid() {
    return uuid;
  }

  public void setUuid(String uuid) {
    this.uuid = uuid;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public Integer getAge() {
    return age;
  }

  public void setAge(Integer age) {
    this.age = age;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  @Override
  public String toString() {
    return "UserEntity{" +
            "uuid='" + uuid + '\'' +
            ", userName='" + userName + '\'' +
            ", sex='" + sex + '\'' +
            ", age=" + age +
            ", email='" + email + '\'' +
            '}';
  }
}
